//
//  BJUserManager.h
//  
//
//  Created by  on 2023/3/3.
//  Copyright © 2023 lishen. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "BJLoginOauthModel.h"
#import "BJGetUserInfoModel.h"

NS_ASSUME_NONNULL_BEGIN

@interface BJUserManager : NSObject

@property (nonatomic,strong) BJLoginOauthDataUserInfoModel *oauthUserInfo; //通过登录接口拿到的userInfo

@property (nonatomic,strong) BJGetUserInfoModelData *userInfoData; //通过获取用户信息拿到的userInfo

//@property (nonatomic,copy) NSString *userId;

//@property (nonatomic,strong)ASRichModelData *richData;

@property (nonatomic,copy) NSString *token;

@property (nonatomic,assign) BOOL is_new_user;
@property (nonatomic,assign) NSInteger followingNum;
@property (nonatomic,assign) NSInteger blockNum;

+ (BJUserManager *)sharedManager;

- (void)setUserToken:(NSString *)userToken;

- (NSString *)getUserToken;

- (void)setUseId:(NSString *)userId;

- (NSString *)getUserId;

- (BOOL)isLogin;//是否登录了

@end

NS_ASSUME_NONNULL_END
